-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DSDK-80] Define project structure (file tree) #2
[DSDK-80] Define project structure (file tree) #2
Conversation
d1f8ae2
to
551ec87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could handle the retun live :)
"persistent": true | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As describe above for github actions.
We could define here, pull_request_develop
entry here for pipelines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like a test
entry that depends on build & lint and execute test in each packages? I guess a naming pull_request
should only designate a git workflow step
a7d99f0
to
ebfb252
Compare
95d8bd0
to
d70dafb
Compare
ded522b
to
6e0586a
Compare
a3453c1
to
a0073ed
Compare
"dev": "tsc --watch", | ||
"lint": "eslint --cache --ext .ts \"src\"", | ||
"lint:fix": "eslint --cache --fix --ext .ts \"src\"", | ||
"feature": "zx scripts/add-feature.mjs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[COULD] could you maybe document this script in the README.md
? (the other ones are pretty classic so not needed I think)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this script seems like a nice addition π
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great job overall! lgtm π
maybe a small readme in explaining how to setup the project, its structure, the different packages, explaining the main commands, explaining the dependencies (node version for instance) would be nice. But it can also be done as a separate task I think, this is already a lot π
lgtm π |
5ea0006
to
7d30cc5
Compare
481012a
to
2c443d1
Compare
"extends": "@tsconfig/recommended/tsconfig.json", | ||
"compilerOptions": { | ||
"target": "esnext", | ||
"lib": ["esnext", "dom"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need dom
? Maybe if we have a package that export React hooks wrapping our action maybe ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this in order to allow the usage of console
in DSDK ts
await $`touch entities/.gitkeep data/.gitkeep use-cases/.gitkeep repository/.gitkeep`; | ||
}); | ||
} | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice :)
π Description
Setup project structure
Add sample app & packages with turborepo
β Context
β Checklist
Pull Requests must pass the CI and be code reviewed. Set as Draft if the PR is not ready.
npx changeset
was attached.sample
apps and packages@ledgerhq/device-sdk-core @ledgerhq/device-sdk-signer @ledgerhq/device-sdk-trustap-apps @ledgerhq/device-sdk-ui
packages/cores/script/add-feature.mjs
script to create folders of a new feature inledgerhq/device-sdk-core
.π§ Checklist for the PR Reviewers